package com.andyage.admin.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.andyage.admin.bean.AdprojectBean;

public interface IAdProjectService {
	/**
	 * 查询发布的项目
	 * @param adProject
	 * @return
	 */
	void queryAdProject(HttpServletRequest request, HttpServletResponse response,AdprojectBean adProject)throws Exception;
	/**
	 * 发布项目
	 * @param adProject
	 * @return
	 */
	void addAdProject(HttpServletRequest request, HttpServletResponse response,AdprojectBean adProject)throws Exception;
	/**
	 * 修改项目信息
	 * @param adProject
	 * @return
	 */
	void updateAdProject(HttpServletRequest request, HttpServletResponse response,AdprojectBean adProject)throws Exception;
	/**
	 * 删除项目
	 * @param adProject
	 * @return
	 */
	void deleteAdProject(HttpServletRequest request, HttpServletResponse response)throws Exception;
	/**
	 * 发布项目
	 * @param adProject
	 * @param response
	 * @param request
	 * @throws Exception
	 */
	void updateProjectPublish(AdprojectBean adProject, HttpServletResponse response,HttpServletRequest request)throws Exception;
	/**
	 * 查询未发布的项目
	 * @param adProject
	 * @param response
	 * @throws Exception
	 */
	void queryProjectByStatus(AdprojectBean adProject, HttpServletResponse response)throws Exception;
	/**
	 * 项目下架
	 * @param adProject
	 * @param response
	 * @throws Exception
	 */
	 void updateProjectByProjectStatus(HttpServletRequest request,AdprojectBean adProject, HttpServletResponse response)throws Exception;
}
